-- GENERATED SPELL FOR [Scarlet Ivy] --


function spell0_23763(pUnit, Event) --@Thorns,n/a--
pUnit:FullCastSpellOnTarget(33907,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23763', 657, 1)
end

function Sorts_23763(pUnit, Event)
local choix_sorts_23763 = math.random(0, 0)
if choix_sorts_23763 == 0 then
pUnit:RegisterEvent('spell0_23763', 1, 1)
end
end

function mob23763_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23763', math.random(1500, 3000), 1)
end

function mob23763_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23763_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23763_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23763, 1, 'mob23763_Action')
RegisterUnitEvent(23763, 2, 'mob23763_Leave')
RegisterUnitEvent(23763, 3, 'mob23763_Kill')
RegisterUnitEvent(23763, 4, 'mob23763_Die')
